gtk-demo: Set local-only to FALSE for the file chooser
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Nov 2016 13:51:16 +0000 (08:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 Nov 2016 13:51:16 +0000 (08:51 -0500)
No good reason for that.

demos/gtk-demo/pickers.c

index fbc9b3ba3409ed64db69039d419ea05c3794b843..1fdceb9b2f7cbd2b19b77262d5046405b31d14ba 100644 (file)
@@ -50,6 +50,7 @@ do_pickers (GtkWidget *do_widget)
     gtk_widget_set_hexpand (label, TRUE);
     picker = gtk_file_chooser_button_new ("Pick a File",
                                           GTK_FILE_CHOOSER_ACTION_OPEN);
+    gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (picker), FALSE);
     gtk_grid_attach (GTK_GRID (table), label, 0, 2, 1, 1);
     gtk_grid_attach (GTK_GRID (table), picker, 1, 2, 1, 1);